<style>
    label{
        display:block;
        float:left;
        height:26px;
        line-height:15px;
        margin-right:20px;
        width:120px;
    }
</style>

<div class="grid_9 alpha" style="margin:0;">    
	<div class="icon_title"><span><?php echo $this->translator('customer_feedback_history');?></span></div>
    <div id="buyerOutput" class="grid_9 alpha" style="margin:0;"></div>
</div>

<script type="text/javascript" charset="utf-8">
    $(function () {
        var tabContainers = $('div.tabs > div');
        tabContainers.hide().filter(':first').show();

        $('div.tabs ul.tabNavigation a').click(function () {
                tabContainers.hide();
                tabContainers.filter(this.hash).show();
                $('div.tabs ul.tabNavigation a').removeClass('selected');
                $(this).addClass('selected');
                return false;
        }).filter(':first').click();
    });
</script>
<script type="text/javascript">
$(document).ready(function() {
    /**Auto load ajax*/
    buyerAjax();
});

function buyerAjax(){
    isEnterprise = '<?php echo $this->isEnterprise;?>';

    $("#buyerOutput").html('').addClass('t_a_ui_helper_loading');
    jQuery.ajaxq('buyer', {
        type: 'POST',
        url: "<?php echo $this->url(array('user_id' => $this->exp_id), 'customer_evaluation_user'); ?>",
        data: { isEnterprise:isEnterprise },
        success: function(html) {
            $("#buyerOutput").html('').removeClass('t_a_ui_helper_loading');
            $('#buyerOutput').html(html);

            /**
            * Set is loaded
            */
            $('#buyer').attr('val', 'is_loaded');
        }
    });
}
</script>